package com.tiger.project.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 【合同发起附件】对象 contract_sponsor_enclosure
 *
 * @author standard
 * @date 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "contract_sponsor_enclosure对象", description = "【合同发起附件】内容")
public class ContractSponsorEnclosure extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 合同发起id
     */
    @Excel(name = "合同发起id")
    @ApiModelProperty(value = "合同发起id")
    private Long contractSponsorId;

    /**
     * 文件名
     */
    @Excel(name = "文件名")
    @ApiModelProperty(value = "文件名")
    private String name;

    /**
     * 文件地址
     */
    @Excel(name = "文件地址")
    @ApiModelProperty(value = "文件地址")
    private String url;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 附件文件大小
     */
    @Excel(name = "附件文件大小")
    @ApiModelProperty(value = "附件文件大小")
    private String size;

    /**
     * 1-上传成功
     */
    @Excel(name = "1-上传成功")
    @ApiModelProperty(value = "1-上传成功")
    private String state;


}
